{if $is_home == 1}
<div><a href="{$BASE_URL}">&laquo; home</a></div>
{/if}
{if $no_categ != 1}


<form action="{$BASE_URL}myproperty/action/" method="post" >
<table id="job-posts" class="job-posts" cellspacing="0">
{if $keywords}
	<tr><td colspan="3" class="search_results_label">
		Search results for <strong>{$keywords}</strong>:
	</td></tr>
{/if}
{if !$jobs}
<div id="no-ads">
	{if $CURRENT_PAGE != 'search'}
	{$translations.jobs.no_job} <strong>{$current_category}</strong>.<br />
	<a href="{$BASE_URL}post/" title="{$translations.footer.new_job_title}">{$translations.footer.new_job}</a>
	{else}
	{$translations.jobs.no_job_found}<br />
	{/if}
</div><!-- #no-ads -->
{/if}
{foreach item=job from=$jobs}
	<tr>
		<td>
			
			<input type="checkbox" name="jobs[]" value="{$job.id}">
			<a href="{$BASE_URL}post/{$job.id}/" title="{$job.title}">{$job.title}</a> 
			
			&nbsp;
			{if $job.category_id==1 }
			BUY
			{elseif $job.category_id==2 }
			RENT
			{elseif $job.category_id==3 }
			SHARE
			{elseif $job.category_id==33 }
			COMMERCIAL PROPERTY
			{else}
			Unkonw
			{/if}
			
			 {php}
          $a=$this->_tpl_vars['jobs'][$this->_sections['tmp']['index']]['category_id'];echo $this->_tpl_vars['translations']['search'][$a];
          {/php}
			
			<!--<span class="la">{$translations.homepage.at}</span> {$job.company}{if $job.location == 'Anywhere'}, {$job.location}{else} <span class="la">{$translations.homepage.in}</span> {$job.location}{/if}-->
		</td>
		<td class="time-posted"><img src="{$BASE_URL}img/clock.gif" alt="" /> {$job.created_on}</td>
	</tr>
{/foreach}

<tr>
		<td>
			
			<!--input type="checkbox" >-->
			<input type="submit" name="Delete" value="delete">
		</td>
		<td class="time-posted">&nbsp;</td>
	</tr>

</table>
</form>
<br/>
{$pages}
{/if}
{literal}
<script type="text/javascript">
	$(document).ready(function()
	{
		$(".job-posts tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
		$(".job-posts tr:odd").addClass("alt");
	});
</script>
{/literal}